<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>register</title>
</head>
<body>
<tiles:insertTemplate template="/WEB-INF/layout/layout.jsp" flush="true"> 
	<tiles:putAttribute name="right" >
		<div class="main-content">
			<s:form action="register" method="POST">
				<c:if test="${isupdate}">
				<s:textfield label="用户名" name="user.user_account"/>
				</c:if>
				<s:password label="密码" name="user.user_password"/>
				<s:password label="确认密码" name="user_password"/>
				<s:textfield label="邮箱" name="user.user_email"/>
				<s:hidden name="user.id"/>
				<s:submit value="保存"></s:submit>
				<s:reset value="重填"></s:reset>
			</s:form>
        </div>
        <!-- 广告 -->
        <div class="main-subcontent">
      </div>
	</tiles:putAttribute>
</tiles:insertTemplate> 


</body>
</html>